import request from '@/utils/request';

// 获取支付统计数据
export function getPaymentChartData(params: any) {
    // 这里假设后端返回的数据格式为 { code: 200, data: { dates: [], amounts: [], counts: [] } }
    return request({
        url: '/payment/payment/record/list',
        method: 'get',
        params
    });
}
